package com.mf.all.entity.req.search;

import com.mf.all.entity.req.publicReq.ReqPublicPaging;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 部门表查询条件
 *
 * @date 2025-04-02 22:36:46
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqDept extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "关键值")
    private String key;

    private Integer id;
    @Schema(description = "部门名称")
    private String dName;
    @Schema(description = "部门编号")
    private String dCode;
    @Schema(description = "负责人id")
    private Integer principalId;
    @Schema(description = "所属部门")
    private Integer pid;
    @Schema(description = "排序")
    private Integer sort;
    @Schema(description = "0-禁用；1-启用")
    private Integer status;
}
